//通过对象直接量创建对象
//创建人对象
var person = {name:'tom',age:20,classA:'3-5'};
console.log( typeof(person) );
//dog对象
var dog = {
  name: '大黄',
  color: '黄色',
  sex: '公',
  age: 3
};
console.log(dog);
//使用new Object 创建对象
var laptop = new Object();
laptop.brand = 'Apple Air';
laptop.size = 14;
laptop.color = '白色';
console.log(laptop);
//console.log(typeof(laptop));









